package com.fs.ssm004.service;

import com.fs.ssm004.pojo.Course;
import com.fs.ssm004.pojo.Grade;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GradeService {
    List<Grade> getAll();
    PageInfo<Grade> getUsersByPage(Integer currentPage,
                                    Integer pageSize);
    Grade getoneByCourseId(Integer id);
    boolean removeOne(Integer id);
    boolean modifyOne(Grade grade);
    boolean addOne(Grade grade);

    List<Grade> selectLike(Integer s_id);
}
